import os
from dotenv import load_dotenv

load_dotenv()


class Config:
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'dev-key-please-change-in-production'

    # 数据库配置
    DB_HOST = '47.104.97.220'
    DB_USER = 'tongban'
    DB_PASSWORD = 'rWFXHT8HCcDJcbZP'
    DB_NAME = 'tongban'
    DB_PORT = int(3306)
